package com.unicorn.base;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.PropertySource;
import org.springframework.stereotype.Component;

/**
 * Created by windy on 16-11-12.
 */
@Component
public class UnicornDataSourceProp {

    @Value("${spring.datasource.url}")
    public  String url;

    @Value("${spring.datasource.username}")
    public  String username;


    @Value("${spring.datasource.password}")
    public  String password;

    @Value("${spring.datasource.driverClassName}")
    public  String driver;
}
